{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/usedconsult/index')}">咨询管理</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/usedconsult/update')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$usedconsult.name}" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">手机</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$usedconsult.phone}" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">内容</label>
                        <div class="layui-input-block">
                            <textarea name="" class="layui-textarea" disabled>{$usedconsult.content}</textarea>
                        </div>
                    </div>
                    {if $usedconsult.manage == 1}
                    <div class="layui-form-item">
                        <label class="layui-form-label">是否处理</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$usedconsult.manage}" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">处理人</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$usedconsult.manageMan}" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">处理时间</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$usedconsult.create_time}" class="layui-input" disabled>
                        </div>
                    </div>
                    {/if}
                    
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$usedconsult.id}">
                            {if $usedconsult.manage == 0}<button class="layui-btn" lay-submit lay-filter="*">处理</button>{/if}
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}